package com.zzyy.study.review.strategy;

import com.zzyy.study.review.enums.PayTypeStrEnum;
import lombok.Getter;
import lombok.Setter;

/**
 * @auther zzyy
 * @create 2024-06-23 12:05
 */
public class PayTypeParseContext
{
    @Setter@Getter
    private PayTypeStrEnum payTypeStrEnum; //V7可以无，V8采用

    @Setter@Getter
    private PayTypeParseStrategy payTypeParseStrategy;

    public Integer parse()
    {
        return payTypeParseStrategy.parse(this);
    }

}
